import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

abstract class BaseDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    var clsName = this.runtimeType.toString();
    return Scaffold(
        appBar: AppBar(
          title: Text(clsName),
        ),
        body: buildDemo());
//    return buildChild1();
  }

  Widget buildDemo();
}
